package com.ruoyi.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.EmDeclaration;

import java.util.List;

/**
 * 灾害申报Service接口
 *
 * @author yangcan
 * @date 2023-04-07
 */
public interface IEmDeclarationService extends IService<EmDeclaration>
{
    /**
     * 查询灾害申报
     *
     * @param id 灾害申报主键
     * @return 灾害申报
     */
    public EmDeclaration selectEmDeclarationById(Long id);

    /**
     * 查询灾害申报列表
     *
     * @param emDeclaration 灾害申报
     * @return 灾害申报集合
     */
    public List<EmDeclaration> selectEmDeclarationList(EmDeclaration emDeclaration);

    /**
     * 新增灾害申报
     *
     * @param emDeclaration 灾害申报
     * @return 结果
     */
    public int insertEmDeclaration(EmDeclaration emDeclaration);

    /**
     * 修改灾害申报
     *
     * @param emDeclaration 灾害申报
     * @return 结果
     */
    public int updateEmDeclaration(EmDeclaration emDeclaration);

    /**
     * 批量删除灾害申报
     *
     * @param ids 需要删除的灾害申报主键集合
     * @return 结果
     */
    public int deleteEmDeclarationByIds(Long[] ids);

    /**
     * 删除灾害申报信息
     *
     * @param id 灾害申报主键
     * @return 结果
     */
    public int deleteEmDeclarationById(Long id);

    void acceptDeclaration(Long id);
}
